//package com.alks.function.controller.PcFactoryQuery;
//
//import com.alks.common.aop.ApiRestController;
//import com.alks.common.aop.WebLogger;
//import com.alks.function.data.request.factoryquery.*;
//import com.alks.entity.data.response.ResponseInfo;
//import com.alks.function.service.pcfactoryquery.*;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import lombok.RequiredArgsConstructor;
//import org.springframework.web.bind.annotation.*;
//
//import java.time.LocalDate;
//
//@Api(value = "总经办",tags = {
////        "总经办-工厂查询模块-指令资料查询","总经办-工厂查询模块-指令动态分析","总经办-工厂查询模块-生产动态分析"，"总经办-工厂查询模块-材料出库查询",
////        "总经办-工厂查询模块-成型生产查询","总经办-工厂查询模块-补单查询作业","总经办-工厂查询模块-指令变更记录","总经办-工厂查询模块-材料请购查询",
////        "总经办-工厂查询模块-材料入库查询",
//
//        "总经办-工厂查询模块-材料配套查询","总经办-工厂查询模块-材料库存查询","总经办-工厂查询模块-耗品入库查询","总经办-工厂查询模块-耗品出库查询",
//        "总经办-工厂查询模块-耗品库存查询", "总经办-工厂查询模块-裁配账目查询","总经办-工厂查询模块-裁配配套查询","总经办-工厂查询模块-鞋面入库查询",
//        "总经办-工厂查询模块-鞋面库存查询",
////
////        "总经办-工厂查询模块-底仓

// 入库查询","总经办-工厂查询模块-底仓库存查询","总经办-工厂查询模块-面底配套查询","总经办-工厂查询模块-包材入库查询",
////        "总经办-工厂查询模块-包材出库查询","总经办-工厂查询模块-包材库存查询","总经办-工厂查询模块-型体工艺查询","总经办-工厂查询模块-型体bom查询"
//})
//@ApiRestController("/pcFactorQuery")
//@RequiredArgsConstructor
//public class PcFactoryQueryController {
//    private final IPcMtlSupportService supportService;
//    private final IPcMtlAccService accService;
//    private final IPcSlipDetailPartBfService partBfService;
//    private final IPcCuttingLsPartService cutService;
//    private final IPcStitchDetailService stitchService;
//
//    @PutMapping("/queryMtlHead")
//    @ApiOperation(value = "材料配套-指令主料-分页条件查询",tags = "总经办-工厂查询模块-材料配套查询")
//    @WebLogger
//    public ResponseInfo queryMtlHead(@RequestBody SpMtlHeadRequest request){
//        return supportService.queryMtlHead(request);
//    }
//
//    @PutMapping("/queryMtlDetail")
//    @ApiOperation(value = "材料配套-材料明细-分页条件查询",tags = "总经办-工厂查询模块-材料配套查询")
//    @WebLogger
//    public ResponseInfo queryMtlDetail(@RequestBody SpMtlDetailRequest request){
//        return supportService.queryMtlDetail(request);
//    }
//
//    @GetMapping("/queryMtlAttribute/{lotNo}")
//    @ApiOperation(value = "材料配套-材料属性-条件查询",tags = "总经办-工厂查询模块-材料配套查询")
//    @WebLogger
//    public ResponseInfo queryMtlAttribute(@PathVariable String lotNo){
//        return supportService.queryMtlAttribute(lotNo);
//    }
//
//    @PutMapping("/updateProcess")
//    @ApiOperation(value = "材料配套-材料工艺-数据更新",tags = "总经办-工厂查询模块-材料配套查询")
//    @WebLogger
//    public ResponseInfo updateProcess(@RequestBody SpUpProcessRequest request){
//        return supportService.updateProcess(request);
//    }
//
//    @PutMapping("/queryVendor")
//    @ApiOperation(value = "材料配套-厂商-回表查询",tags = "总经办-工厂查询模块-材料配套查询")
//    @WebLogger
//    public ResponseInfo queryVendor(){
//        return supportService.queryVendor();
//    }
//
//    @PutMapping("/queryMtlAccHead")
//    @ApiOperation(value = "材料库存-材料库存-分页条件查询",tags = "总经办-工厂查询模块-材料库存查询")
//    @WebLogger
//    public ResponseInfo queryMtlAccHead(@RequestBody AcMtlAccHeadRequest request){
//        return accService.queryMtlAccHead(request);
//    }
//
//    @GetMapping("/queryMtlDetail/{mtlNo}")
//    @ApiOperation(value = "材料库存-出入库明细-条件查询",tags = "总经办-工厂查询模块-材料库存查询")
//    @WebLogger
//    public ResponseInfo queryMtlAccDetail(@PathVariable String mtlNo){
//        return accService.queryMtlAccDetail(mtlNo);
//    }
//
//    @PutMapping("/queryPartBfIn")
//    @ApiOperation(value = "耗品入库-耗品入库明细-条件可分页查询",tags = "总经办-工厂查询模块-耗品入库查询")
//    @WebLogger
//    public ResponseInfo queryPartBfIn(@RequestBody PartBfInRequest request){return partBfService.queryPartBfIn(request);}
//
//    @GetMapping("/queryPartBfInBack")
//    @ApiOperation(value = "耗品入库-耗品入库-回表查询",tags = "总经办-工厂查询模块-耗品入库查询")
//    @WebLogger
//    public ResponseInfo queryPartBfInBack(){return partBfService.queryPartBfInBack();}
//
//    @PutMapping("/queryPartBfOut")
//    @ApiOperation(value = "耗品出库-耗品出库明细-条件可分页查询",tags = "总经办-工厂查询模块-耗品出库查询")
//    @WebLogger
//    public ResponseInfo queryPartBfOut(@RequestBody PartBfOutRequest request){return partBfService.queryPartBfOut(request);}
//
//    @GetMapping("/queryPartBfOutBack")
//    @ApiOperation(value = "耗品出库-耗品出库-回表查询",tags = "总经办-工厂查询模块-耗品出库查询")
//    @WebLogger
//    public ResponseInfo queryPartBfOutBack(){return partBfService.queryPartBfOutBack();}
//
//    @PutMapping("/queryPartBfStockHead")
//    @ApiOperation(value = "耗品库存-耗品库存主表-条件可分页查询",tags = "总经办-工厂查询模块-耗品库存查询")
//    @WebLogger
//    public ResponseInfo queryPartBfStockHead(@RequestBody PartStockRequest result){return partBfService.queryPartBfStockHead(result);}
//
//    @GetMapping("/queryPartBfStockDetail/{mtlNo}")
//    @ApiOperation(value = "耗品库存-耗品库存明细-条件查询",tags = "总经办-工厂查询模块-耗品库存查询")
//    @WebLogger
//    public ResponseInfo queryPartBfStockDetail(@PathVariable("mtlNo") String mtlNo){return partBfService.queryPartBfStockDetail(mtlNo);}
//
//    @GetMapping("/queryPartBfStockBack")
//    @ApiOperation(value = "耗品库存-耗品库存-回表查询",tags = "总经办-工厂查询模块-耗品库存查询")
//    @WebLogger
//    public ResponseInfo queryPartBfStockBack(){return partBfService.queryPartBfStockBack();}
//
//    @PutMapping("/queryCuttingPartLsDetail")
//    @ApiOperation(value = "裁配账目-裁配账目明细-条件可分页查询",tags = "总经办-工厂查询模块-裁配账目查询")
//    @WebLogger
//    public ResponseInfo queryCuttingPartLsDetail(@RequestBody CuttingPartRequest request){return cutService.queryCuttingPartLsDetail(request);}
//
//    @PutMapping("/queryCuttingPartLsLot")
//    @ApiOperation(value = "裁配账目-裁配账目主表-条件查询",tags = "总经办-工厂查询模块-裁配账目查询")
//    @WebLogger
//    public ResponseInfo queryCuttingPartLsLot(@RequestBody CuttingPartLotRequest request){return cutService.queryCuttingPartLsLot(request);}
//
//    @GetMapping("/queryCuttingPartLs/{lotNo}")
//    @ApiOperation(value = "裁配账目-裁配账目轮次-条件查询",tags = "总经办-工厂查询模块-裁配账目查询")
//    @WebLogger
//    public ResponseInfo queryCuttingPartLs(@PathVariable String lotNo){return cutService.queryCuttingPartLs(lotNo);}
//
//    @GetMapping("/queryCuttingPartLsBack")
//    @ApiOperation(value = "裁配账目-裁配账目工艺-回表查询",tags = "总经办-工厂查询模块-裁配账目查询")
//    @WebLogger
//    public ResponseInfo queryCuttingPartBack(){return cutService.queryCuttingPartBack();}
//
//    @PutMapping("/queryCuttingPartSp")
//    @ApiOperation(value = "裁配配套-裁配配套主表-条件分页查询",tags = "总经办-工厂查询模块-裁配配套查询")
//    @WebLogger
//    public ResponseInfo queryCuttingPartSp(@RequestBody CuttingPartSpRequest request){return cutService.queryCuttingPartSpHead(request);}
//
//    @GetMapping("/queryCuttingPartSpDetail/{lotNo}")
//    @ApiOperation(value = "裁配配套-裁配配套明细-条件查询",tags = "总经办-工厂查询模块-裁配配套查询")
//    @WebLogger
//    public ResponseInfo queryCuttingPartSp(@PathVariable String lotNo){return cutService.queryCuttingPartSpDetail(lotNo);}
//
//    @PutMapping("/queryStitchStockHead")
//    @ApiOperation(value = "鞋面入库-鞋面入库主表-条件分页查询",tags = "总经办-工厂查询模块-鞋面入库查询")
//    @WebLogger
//    public ResponseInfo queryStitchStockHead(@RequestBody StitchStockRequest request){
//        return stitchService.queryStitchStockHead(request);
//    }
//
//    @GetMapping("/queryStitchStockDetail")
//    @ApiOperation(value = "鞋面入库-鞋面入库明细-条件查询",tags = "总经办-工厂查询模块-鞋面入库查询")
//    @WebLogger
//    public ResponseInfo queryStitchStockDetail(@RequestParam(value = "lotNo",required = false) String lotNo){
//        return stitchService.queryStitchStockDetail(lotNo);
//    }
//
//    @PutMapping("/queryStitchDeptHead")
//    @ApiOperation(value = "鞋面库存-鞋面仓库账目-条件查询",tags = "总经办-工厂查询模块-鞋面库存查询")
//    @WebLogger
//    public ResponseInfo queryStitchDeptHead(@RequestBody StitchHeadRequest request){
//        return stitchService.queryStitchDeptHead(request);
//    }
//
//    @GetMapping("/queryStitchDeptDetail")
//    @ApiOperation(value = "鞋面库存-鞋面仓库部门明细-条件查询",tags = "总经办-工厂查询模块-鞋面库存查询")
//    @WebLogger
//    public ResponseInfo queryStitchDeptDetail(@RequestParam(value = "deptName",required = false) String deptName,
//                                              @RequestParam(value = "slipType",required = false) String slipType){
//        return stitchService.queryStitchDeptDetail(deptName,slipType);
//    }
//}
////2023-6-5027